package org.lql.shop.cloud;

/**
 * @author: lql
 * @date: 2022/7/2 00:01
 * @description: 购物车服务dubbo接口
 */
public interface IShopService {

    /**
     * 下单接口
     *
     * @param cartId 购物车id
     * @return res
     */
    String placeOrder(Long cartId);

    /**
     * 乐观锁测试接口
     *
     * @param cartId 购物车id
     * @return res
     */
    String optimistic(Long cartId);
}
